using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableFieldMonsterPosDao:DaoBase<TableFieldMonsterPos>
    {
        public override void AddPrimaryIndex(TableFieldMonsterPos model)
        {
            cachePrimary[model.monsterPosId.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableFieldMonsterPos.txt";
        }

        protected override TableFieldMonsterPos ParseRowData(string[] rowData)
        {
            TableFieldMonsterPos data = new TableFieldMonsterPos();
			data.monsterPosId = rowData [0];
			data.BornPos = rowData [1];
			data.monsterIdProbs = rowData [2];

            return data;
        }



    }

}
